﻿<%@ Page Language="C#" Debug="true" AutoEventWireup="true" CodeBehind="CarPublishing.aspx.cs" Inherits="CarPublishing.CarPublishing" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label Text="Producer" runat="server" id="producerLabel"/>
        <asp:DropDownList runat="server" ID="producer" DataTextField ="Name" DataValueField="Name"
         OnSelectedIndexChanged="ProducerChanged" AutoPostBack="true">
        </asp:DropDownList>
    
        <asp:Label Text="Model" runat="server" id="modelLabel"/>
        <asp:DropDownList runat="server" ID="model">
        </asp:DropDownList>

        <asp:CheckBoxList runat="server" ID="carExtras" RepeatColumns ="4" RepeatDirection="Vertical"
            AutoPostBack ="true" OnSelectedIndexChanged ="UpdateSelectedInfo">
        </asp:CheckBoxList>

        <asp:RadioButtonList runat="server" ID="engineType" RepeatDirection ="Vertical" RepeatColumns="1" 
        AutoPostBack ="true" OnSelectedIndexChanged="UpdateSelectedInfo">
        </asp:RadioButtonList>
        <asp:Literal runat="server" id="selected" />
    </div>
    </form>
</body>
</html>
